import http from './http'

export default {
  getMenu (id) {
    return http.get(`fd/site/${id}/menu`)
  },

  patchMenu ({gid, data, ...params}) {
    return http.patch(`api/group/${gid}/data/menu`, data)
  }
}
